package com.xianyun.book.dto.clientobject;

import com.alibaba.cola.dto.DTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author ytt
 */
@Data
@SuppressWarnings("all")
public class BookInfoCO extends DTO {
    private String name;
    /**作者*/
    private String author;
    private String imgUrl;
    private String bookStatus;
    private String press;
    /**ISBN码*/
    private String isbn;
    private String years;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date newTime;
    private BigDecimal price;
    /**参与人数*/
    private Integer personNumber;
    /**评论分数*/
    private Double score;
    private String desc;
    /**在售数量*/
    private Integer inSellNumber;
    /**以售数量*/
    private Integer sealNumber;
    /**评论详情*/
    private List<BookCommentCO> comments;
}
